package Test;

import java.util.Scanner;

public class TT {
    public static void main(String[] args) {
        int res = 0;
        Scanner sc = new Scanner(System.in);
        int count = sc.nextInt();
        int everytime = sc.nextInt();
        int curTime = 0;
        for (int i = 0; i < count; i++) {
            int taskTime = sc.nextInt();
            if (curTime + everytime > taskTime){
                res++;
            }else {
                curTime += everytime;
            }
        }
        System.out.println(res);
    }
}
